home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 142
/
Volume 142 Oct 17 2011 - Damaged.iso
/
Games
/
operation-graduates.swf
/
scripts
/
frame_40
/
DoAction.as
Wrap
Text File
|
2011-10-17
|
943b
|
35 lines
function initSplash()
{
attachMovie("splash","splash",0);
splash.startButton.gotoAndStop("inactive");
splash.theRoll = new Sound();
splash.thePress = new Sound();
splash.theRelease = new Sound();
splash.theRoll.attachSound("sound.rollover");
splash.thePress.attachSound("sound.onpress");
splash.theRelease.attachSound("sound.onrelease");
splash.startButton.onRollOver = splash.startButton.onDragOver = function()
{
this.gotoAndStop("active");
splash.theRoll.start();
};
splash.startButton.onRollOut = splash.startButton.onDragOut = function()
{
this.gotoAndStop("inactive");
};
splash.startButton.onPress = function()
{
splash.thePress.start();
};
splash.startButton.onRelease = function()
{
splash.theRelease.start();
gotoAndStop(41);
splash.removeMovieClip();
};
}
i++;
initSplash();
trace("in");
stop();